package com.wangyk.rabbitmqcommon.enums;

import lombok.Getter;

/**
 * 商品上下架的状态
 * */
//lombok插件，可以省略getter()方法
@Getter
public enum ProductInfoStatusEnum
{
    UP(0, "在架"),
    DOWN(1, "下架"),
    ;

    private Integer code;

    private String message;

    ProductInfoStatusEnum(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }
}
